Skip to content

Conversation

@ITZ-NIHALPATEL
Copy link

This pull request adds a new cube root function to the math utilities and documents its inclusion. The main change is the implementation of the cube root calculation for floating-point numbers, along with example usage and thorough testing to ensure correctness.

Math utilities enhancement:

  • Added a new cbrt function in math/cube_root.jule to calculate the cube root of a given f64 value, correctly handling negative inputs.
  • Included a comprehensive test suite for cbrt, covering positive, negative, zero, and fractional cases with floating-point tolerance checks.
  • Provided example usage in the main function to demonstrate how to use the new cube root function.

Documentation update:

  • Added Cube Root to the math section of DIRECTORY.md, listing the new utility for discoverability.

Copy link
Member

@mertcandav mertcandav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Unfortunately, I've encountered a few issues that need to be addressed before we can merge your PR:

  • The CI pipeline is currently failing. Please check the CI logs for details.
  • The code must be fully compatible with the latest Jule version.
  • Please ensure your tests are correctly placed in the designated test file, following the existing structure.
  • The source code should not include an entry point (main) function.

Once these points are resolved, I will review it again.

Thanks.

@mertcandav
Copy link
Member

Closed due to no progress.

@mertcandav mertcandav closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants